package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;




/**
 * SemestersYearGroupsDTO entity. @author MyEclipse Persistence Tools
 */

public class CSSemestersYearGroupsDTO extends java.lang.Object implements IsSerializable, ICSDTO {


    // Fields    

     private long id;
     private long semesterID;
     private long yearGroupNameID;
     private Integer studentsNumber;


    // Constructors



	/** default constructor */
    public CSSemestersYearGroupsDTO() {
    }

    
    public CSSemestersYearGroupsDTO(long id, long semesterID,
			long yearGroupNameID, Integer studentsNumber) {
		super();
		this.id = id;
		this.semesterID = semesterID;
		this.yearGroupNameID = yearGroupNameID;
		this.studentsNumber = studentsNumber;
	}




//    public String toLabel() {
//    	String result;
//    	result = "" + yearGroupNameID.getName() + " [" + studentsNumber + "] " + semesterID.toLabel();
//    	return result;
//    }


	public long getId() {
		return id;
	}


	public void setId(long id) {
		this.id = id;
	}


	public long getSemesterID() {
		return semesterID;
	}


	public void setSemesterID(long semesterID) {
		this.semesterID = semesterID;
	}


	public long getYearGroupNameID() {
		return yearGroupNameID;
	}


	public void setYearGroupNameID(long yearGroupNameID) {
		this.yearGroupNameID = yearGroupNameID;
	}


	public Integer getStudentsNumber() {
		return studentsNumber;
	}


	public void setStudentsNumber(Integer studentsNumber) {
		this.studentsNumber = studentsNumber;
	}

	




}